home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 03 / 1 / DISK0317.ZIP / MAIL1.DOC < prev    next >
Text File  |  1983-01-02  |  3KB  |  50 lines

  1. 23:59:55  01-02-1983
  2. JOE LONG
  3.      MAILING LIST PROGRAM  v1.0  by Joe Long
  4.  
  5.      This is a straightforward mailing list program written as an exercise.    
  6. It is fairly powerful, allowing sorting by four fields and keying printing of
  7. labels by any field.  It will print one across or two across labels.  It was
  8. repeatedly modified and expanded in scope as it grew, so it is not as elegantly
  9. structured as it should be.  It has had little testing, so probably has bugs --
  10. please report any bugs to me at the address listed in the program heading.
  11.  
  12.      The program has five files open at once, and uses the function keys,  so
  13. BASICA must be called with five file buffers specified.  Call as
  14. "BASICA/F:5/S:512".
  15.  
  16.      The program is nearly self-explanatory.  Use the "tab" key or cursor
  17. control keys to move about the form.  "Tab" only moves forward.  "Esc" deletes
  18. the current record from the file.  You are always given a chance to change your
  19. ind before the disc is modified, except when inputting a new record.
  20.  
  21.      Sorting is done by maintaining a separate index file for the four sort
  22. fields.  Only these files are sorted, the main file is never shuffled. 
  23. Searches are done by a binary search, so the index files must be sorted before
  24. a search if even one record has been changed.  An insertion sort is used, which
  25. is fast when the list is almost in order (as will be the case when only a few
  26. records have been changed since the last sort).  If you enter a large number of
  27. new records, the sort can get very slow.  I have a compiled version available,
  28. which I have not uploaded because of its large size (42K).  You can get it by
  29. sending me a blank, formatted disc in a self-addressed return mailer WITH
  30. POSTAGE.
  31.  
  32.      The program does a LOT of disc I/O.  It will run much faster if you have a
  33. "ramdisc" (a virtual disc drive in high RAM).  Just change the drive
  34. specification on lines 160, 180, 200, 220, and 240 to the ramdrive.
  35.  
  36.      Feel free to modify or expand this program as you wish.  It is fairly
  37. well self-documented, so modification should not be difficult.
  38.  
  39.      If you have a color monitor, change the values of FG, BG, BD, and HI to
  40. whatever colors suit you.  They are now set for B/W monitors.
  41.  
  42.      My only reason for the 1,000 record limit is the feeling that by that time
  43. the program will have gotten intolerably slow anyway, at least until the
  44. compiled version is done.  If you have the disc space, and a compiler, you may
  45. wnat to increase this.  Notice that I maintain dynamic file allocation; 
  46. eleted records are re-used to keep the file from growing unnecessarily.  Up to
  47. 50 deleted record numbers are saved at one time.
  48.  
  49.      If you have any questions, write me or leave a message on the Capitol BBS.
  50. eted record numbers are saved at on